package study.JavaBase;

/**
 * date:2025.10.13
 * title:character类
 * author:fzy
 */
public class Java_9 {
    public static void main(String[] arg) {
        CharacterClass.init();
    }
}

//character为char包装类
class CharacterClass {
   static void init(){
        //装箱和拆箱
       Character c = 'c';
       char c2 = c;
        System.out.println("这个是\"转义字符!\"哈哈哈");
    }
    static void someFun(){
       Character c = 'c';
      String c2 =  c.toString();
      //是否为一个字母 isDigit()数字 isWhitespace()空格 	isUpperCase()大写 	toUpperCase()某个字母的大写
      boolean b1 =Character.isLetter(c);

    }

}